Commands > The command API > isDomRequired() |
![]() ![]() ![]() |
Description
Determines whether the command requires a valid DOM to operate. If this function returns true
or if the function is not defined, Dreamweaver assumes that the command requires a valid DOM and synchronizes the Design and Code views of the document before executing. Synchronization causes all edits in the code view to be updated in the Design view.
Arguments
None.
Returns
true
if a command requires a valid DOM to operate, false
if not.
![]() ![]() ![]() |